#!/usr/bin/php
<?PHP

// fclose(STDIN);
fclose(STDOUT);

// $fp = fopen("/dev/stdout", "r+");
$fp = fopen("test_file", "r+");

echo "hello", PHP_EOL;

// STDIN
// STDOUT

// echo fread($fp, 10), PHP_EOL;
// fwrite($fp, "hello world!\n");

fclose($fp);

